package trlygjj.tanruiliyigenjinjin.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Setter
@Getter
public class Salary {
    private Long id;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM",timezone = "GMT+8")
    private Date month;
    //基本工资
    private BigDecimal baseSalary;
    //公积金
    private BigDecimal accumulationFund;
    //加班工资
    private BigDecimal overtime;
    //个人收入
    private BigDecimal personalIncome;
    //工作天数
    private Integer workday;
    //迟到天数
    private Integer lateday;
    //真实工资
    private BigDecimal realWages;
    //奖金
    private BigDecimal bonus;
    //奖金系数
    private BigDecimal coefficient;
    //社会保险
    private BigDecimal socialInsurance;
    //银行卡号
    private Integer bankcardNumber;

    private Employee employee;

    private Department department;
}